/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "客服系统",TableName = "KFInfo")]
    public partial class KFInfo:BaseEntity
    {
        /// <summary>
       ///Id
       /// </summary>
       [Key]
       [Display(Name ="Id")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int Id { get; set; }

       /// <summary>
       ///客服微信
       /// </summary>
       [Display(Name ="客服微信")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string KF { get; set; }

       /// <summary>
       ///客户微信
       /// </summary>
       [Display(Name ="客户微信")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string KH { get; set; }

       /// <summary>
       ///类型（1：文字；2：图片：3：附件）
       /// </summary>
       [Display(Name ="类型（1：文字；2：图片：3：附件）")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? Type { get; set; }

       /// <summary>
       ///内容
       /// </summary>
       [Display(Name ="内容")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Text { get; set; }

       /// <summary>
       ///时间
       /// </summary>
       [Display(Name ="时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? Time { get; set; }

       
    }
}